﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PcaCore.BOL.Pca
{
    public class oOficina
    {

        [Required]
        [Display(Name = "Empresa id")]
        [StringLength(2, MinimumLength = 2)]
        public string empresa_id { get; set; }

        [Required]
        [Display(Name="Oficina id")]
        [StringLength(2, MinimumLength = 2)]
        public string oficina_id { get; set; }

        [Required]
        [Display(Name="Nombre")]
        public string nombre { get; set; }

        [Display(Name="Direccion")]
        public string direccion { get; set; }

        [Display(Name="Telefono")]
        public string telefono { get; set; }

        [Display(Name="Activo")]
        public bool activo { get; set; }
        public bool eliminado { get; set; }
    }
}
